import axios from '@/utils/request';

export function getUserDispatchWorkList(params) {
    return axios.post({
        url: '/user-dispatch-work/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editUserDispatchWork(params) {
    return axios.post({
        url: '/user-dispatch-work/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteUserDispatchWork(params) {
    return axios.post({
        url: '/user-dispatch-work/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadUserDispatchWork(params) {
    return axios.post({
        url: '/user-dispatch-work/load',
        data: params
    }).then((res) => {
        return res
    })
}

